package cn.com.miao.lynx.common.data.core;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.domain.AuditorAware;

/**
 * LynxDataAutoConfig
 * 用户审计
 * @title: LynxDataAutoConfig
 * @description:
 * @author: dengmiao
 * @create: 2019-12-26 15:49
 **/
@Configuration
public class LynxDataAutoConfig {

    @Bean
    public AuditorAware<String> auditorAware() {
        return new CustomAuditorAware();
    }
}
